<template>
	<view>
		<scroll-view class="scroll" scroll-y>
			<view class="item">
				<view class="item_al">
					<view class="item_al_l">
						<image class="item_al_img" src="@/static/commodity.png" mode=""></image>
						<view class="item_al_size">商品名称</view>
					</view>
					<view>
						<u-input v-model="value" type="text" :border="true" :clearable="false" placeholder="请输入"/>
					</view>
				</view>
			</view>
		</scroll-view>
		<view class="dc_top">
			<view class="dc_btn" @click="toPath">完成</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				value:''
			}
		},
		methods:{
			toPath(){
				uni.navigateBack(-1)
			}
		}
	}
</script>
<style>
	page {
		background-color: #F4F5F7;
	}
</style>
<style scoped lang="scss">
	.item{
		padding: 0rpx 20rpx;
		.item_al{
			display: flex;
			align-items: flex-end;
			justify-content:space-between;
			background: #FFF;
			padding: 30rpx;
			margin-top: 20rpx;
			border-radius: 10rpx;
			.item_al_l{
				display: flex;
				align-items: center;
				flex-direction: column;
				justify-content: center;
				.item_al_img{
					width: 160rpx;
					height: 160rpx;
					margin-bottom: 12rpx;
				}
				.item_al_size{
					font-size: 30rpx;
					font-weight: 500;
					line-height: 42rpx;
					color: #383838;
				}
			}
		}
	}

	.dc_top {
		position: fixed;
		bottom: 80rpx;
		width: 100%;
		padding: 0rpx 37rpx;
		left: 0;
		.dc_btn {
			height: 88rpx;
			border-radius: 44rpx;
			background: linear-gradient(147.27deg, #F1714E 0%, #E93E30 100%);
			font-size: 32rpx;
			font-weight: 500;
			line-height: 44rpx;
			color: #FFF;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
</style>